<?php

namespace App;

use Illuminate\Database\Eloquent\Model;
use Illuminate\Database\Eloquent\SoftDeletes;

/**
 * App\ActivityGroup
 *
 * @property int $id 自增id
 * @property int $goods_id 商品id
 * @property int $max_group_num 最大拼团人数
 * @property string|null $start_time 活动开始时间
 * @property string|null $end_time 活动结束时间
 * @property int $group_effective_time 拼团有效时间（小时）
 * @property int $sort 排序
 * @property int $status 状态：0：下架 1：上架
 * @property string|null $deleted_at
 * @property \Carbon\Carbon|null $created_at
 * @property \Carbon\Carbon|null $updated_at
 * @method static bool|null forceDelete()
 * @method static \Illuminate\Database\Query\Builder|\App\ActivityGroup onlyTrashed()
 * @method static bool|null restore()
 * @method static \Illuminate\Database\Eloquent\Builder|\App\ActivityGroup whereCreatedAt($value)
 * @method static \Illuminate\Database\Eloquent\Builder|\App\ActivityGroup whereDeletedAt($value)
 * @method static \Illuminate\Database\Eloquent\Builder|\App\ActivityGroup whereEndTime($value)
 * @method static \Illuminate\Database\Eloquent\Builder|\App\ActivityGroup whereGoodsId($value)
 * @method static \Illuminate\Database\Eloquent\Builder|\App\ActivityGroup whereGroupEffectiveTime($value)
 * @method static \Illuminate\Database\Eloquent\Builder|\App\ActivityGroup whereId($value)
 * @method static \Illuminate\Database\Eloquent\Builder|\App\ActivityGroup whereMaxGroupNum($value)
 * @method static \Illuminate\Database\Eloquent\Builder|\App\ActivityGroup whereSort($value)
 * @method static \Illuminate\Database\Eloquent\Builder|\App\ActivityGroup whereStartTime($value)
 * @method static \Illuminate\Database\Eloquent\Builder|\App\ActivityGroup whereStatus($value)
 * @method static \Illuminate\Database\Eloquent\Builder|\App\ActivityGroup whereUpdatedAt($value)
 * @method static \Illuminate\Database\Query\Builder|\App\ActivityGroup withTrashed()
 * @method static \Illuminate\Database\Query\Builder|\App\ActivityGroup withoutTrashed()
 * @mixin \Eloquent
 * @property int $goods_spu_id 商品属性id
 * @property float $single_money 单人活动价
 * @property float $many_money 拼团活动价
 * @method static \Illuminate\Database\Eloquent\Builder|\App\ActivityGroup whereGoodsSpuId($value)
 * @method static \Illuminate\Database\Eloquent\Builder|\App\ActivityGroup whereManyMoney($value)
 * @method static \Illuminate\Database\Eloquent\Builder|\App\ActivityGroup whereSingleMoney($value)
 */
class ActivityGroup extends Model
{
    protected $table = "activity_group";
    use SoftDeletes;
}
